<html>
<head><meta charset="utf-8"><title>rustup · t-compiler/cargo-bisect-rustc · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/index.html">t-compiler/cargo-bisect-rustc</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup.html">rustup</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="184697102"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup/near/184697102" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup.html#184697102">(Jan 03 2020 at 00:48)</a>:</h4>
<p>Does cargo-bisect-rustc reuse nightlies that have already been downloaded via <code>rustup</code>? When I tried it out just now, it seemed like it might have started a fresh download for a nightly that I already had in my local <code>.rustup</code> directory...</p>



<a name="184697146"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup/near/184697146" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup.html#184697146">(Jan 03 2020 at 00:49)</a>:</h4>
<p>it does not, no</p>



<a name="184697153"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup/near/184697153" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup.html#184697153">(Jan 03 2020 at 00:49)</a>:</h4>
<p>(arguably not great, but it will self-reuse, I think)</p>



<a name="184697212"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup/near/184697212" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup.html#184697212">(Jan 03 2020 at 00:50)</a>:</h4>
<p>we're also not smart about trying to reuse a local nightly for example (e.g., if you do bisection yesterday, then today's will be an entire fresh set of nightlies)</p>



<a name="184697424"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup/near/184697424" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup.html#184697424">(Jan 03 2020 at 00:55)</a>:</h4>
<p>hmm. and for finding the commits in a range, it does a fresh clone of the rust repo?</p>



<a name="184697431"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup/near/184697431" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup.html#184697431">(Jan 03 2020 at 00:55)</a>:</h4>
<p>is that really necessary ...? I would have thought there might be a way to query that remotely</p>



<a name="184697481"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup/near/184697481" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup.html#184697481">(Jan 03 2020 at 00:56)</a>:</h4>
<p>Ior, failing that, at least letting me indicate a local repo for it to <em>start with</em> for its clone...)</p>



<a name="184697490"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup/near/184697490" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup.html#184697490">(Jan 03 2020 at 00:56)</a>:</h4>
<p>/me bemoans all the network traffic he is causing</p>



<a name="184697587"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup/near/184697587" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup.html#184697587">(Jan 03 2020 at 00:58)</a>:</h4>
<p>we, ah, do support the local repo I <em>think</em> but it's a compile time constant IIRC</p>



<a name="184697596"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup/near/184697596" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup.html#184697596">(Jan 03 2020 at 00:59)</a>:</h4>
<p>(for, realistically, unknown reasons. I'm not sure why I chose that :)</p>



<a name="184697604"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup/near/184697604" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup.html#184697604">(Jan 03 2020 at 00:59)</a>:</h4>
<p>we have an open issue to use the github API</p>



<a name="184729573"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup/near/184729573" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup.html#184729573">(Jan 03 2020 at 12:30)</a>:</h4>
<blockquote>
<p>we have an open issue to use the github API</p>
</blockquote>
<p>this is the issue <span class="user-mention" data-user-id="250987">@apiraino</span>and/or <span class="user-mention" data-user-id="215267">@Andrés Margalef</span> were looking at</p>



<a name="184745927"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup/near/184745927" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> apiraino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup.html#184745927">(Jan 03 2020 at 16:17)</a>:</h4>
<p>correct, i think <span class="user-mention" data-user-id="215267">@Andrés Margalef</span> mentioned a partial work-in-progress hooks to the Github APIs (not released yet).<br>
<a href="#narrow/stream/217417-t-compiler.2Fcargo-bisect-rustc/topic/stream.20events/near/184353566" title="#narrow/stream/217417-t-compiler.2Fcargo-bisect-rustc/topic/stream.20events/near/184353566">https://rust-lang.zulipchat.com/#narrow/stream/217417-t-compiler.2Fcargo-bisect-rustc/topic/stream.20events/near/184353566</a></p>
<p>I was thinking to develop something similar (although perhaps smaller), but then stopped (no need to duplicate efforts).</p>



<a name="184746004"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup/near/184746004" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> apiraino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup.html#184746004">(Jan 03 2020 at 16:18)</a>:</h4>
<p>The github issue I'd link is this <a href="https://github.com/rust-lang/cargo-bisect-rustc/issues/40" target="_blank" title="https://github.com/rust-lang/cargo-bisect-rustc/issues/40">https://github.com/rust-lang/cargo-bisect-rustc/issues/40</a></p>



<a name="188673794"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup/near/188673794" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/rustup.html#188673794">(Feb 20 2020 at 20:19)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116083">pnkfelix</span> <a href="#narrow/stream/217417-t-compiler.2Fcargo-bisect-rustc/topic/rustup/near/184697102" title="#narrow/stream/217417-t-compiler.2Fcargo-bisect-rustc/topic/rustup/near/184697102">said</a>:</p>
<blockquote>
<p>Does cargo-bisect-rustc reuse nightlies that have already been downloaded via <code>rustup</code>? When I tried it out just now, it seemed like it might have started a fresh download for a nightly that I already had in my local <code>.rustup</code> directory...</p>
</blockquote>
<p>(filed as <a href="https://github.com/rust-lang/cargo-bisect-rustc/issues/52" target="_blank" title="https://github.com/rust-lang/cargo-bisect-rustc/issues/52">cargo-bisect-rustc#52</a>)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>